package commons.beans.resume.impl;

import java.util.Date;

public class Letter {
	private String id;
	private String title;
	private String body;
	private boolean isDel;
	private Date dTime;
	private Date addTime;
	
	public Letter() {}

	public Letter(String id, String title, String body, boolean isDel, Date dTime, Date addTime) {
		super();
		this.id = id;
		this.title = title;
		this.body = body;
		this.isDel = isDel;
		this.dTime = dTime;
		this.addTime = addTime;
	}

	@Override
	public String toString() {
		return "Letter [id=" + id + ", title=" + title + ", body=" + body + ", isDel=" + isDel + ", dTime=" + dTime + ", addTime=" + addTime + "]";
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public boolean isDel() {
		return isDel;
	}

	public void setDel(boolean isDel) {
		this.isDel = isDel;
	}

	public Date getdTime() {
		return dTime;
	}

	public void setdTime(Date dTime) {
		this.dTime = dTime;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
}
